---
title: AWSBedrockCohereStream
description: Learn to use AWSBedrockCohereStream helper function in your application.
---

# `AWSBedrockCohereStream`

<Note type="warning">
  AWSBedrockCohereStream is part of the [legacy AWS Bedrock
  integration](/providers/legacy-providers/aws-bedrock). It is not compatible
  with the AI SDK 3.1 functions.
</Note>

## Import

The AWS Bedrock stream functions are utilties that transform the outputs from the AWS Bedrock API into a ReadableStream. It uses AIStream under the hood and handles parsing Bedrock's response.

### React

<Snippet text={`import { AWSBedrockCohereStream } from "ai"`} prompt={false} />

<ReferenceTable packageName="streams" functionName="AWSBedrockCohereStream" />
